package com.atguigu.common.config.exception;

public class MyException extends RuntimeException{
    private Integer code;
    private String msg;
    public MyException(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }

    @Override
    public String toString() {
        return msg;
    }
}
